package com.scuec.groupfive.entity;

import lombok.Data;
import java.util.Date;

@Data
public class MockExam {
    private Long examId;            // exam_id
    private Long userId;            // user_id
    private String username;        // username
    private String examType;
    private String examStrategy;
    private Date examDate;          // exam_date
    private Integer totalQuestions; // total_questions
    private Integer correctQuestions; // correct_questions
    private Integer totalTime;      // total_time
    private Double score;           // score
    private Date createdAt;        // created_at
    public MockExam() {
        this.totalTime = 0; // 或根据实际需求设置默认值
    }

}